package com.cgly.medical.service.impl;

import com.cgly.medical.domain.TreatType;
import com.cgly.medical.mapper.TreatTypeMapper;
import com.cgly.medical.service.TreatTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wangxiangli
 * @create 2022-08-19-15:49
 */
@Service
public class TreatTypeServiceImpl implements TreatTypeService {


    @Autowired
    private TreatTypeMapper treatTypeMapper;

    @Override
    public List<TreatType> selectAllTreatType() {
        List<TreatType> treatTypes = treatTypeMapper.selectAllTreatType();
        return treatTypes;
    }
}
